import request from '@/utils/request'

//  查询机构过滤条件
export function queryOrgCondition(params) {
  return request({
    url: '/business/defect/defectQuestionQuery/queryOrgCondition',
    method: 'get',
    params
  })
}

//  查询隐患类型过滤条件
export function queryQuestionTypeCondition(params) {
  return request({
    url: '/business/defect/defectQuestionQuery/queryQuestionTypeCondition',
    method: 'get',
    params
  })
}

//  查询隐患列表
export function defectQuestionQueryQueryQuestionList(data) {
  return request({
    url: '/business/defect/defectQuestionQuery/queryQuestionList',
    method: 'post',
    data
  })
}
